home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / lang_c / cgraphix / caxis.c < prev    next >
Text File  |  1986-05-28  |  498b  |  32 lines

  1. /* «RM120»«PL99999»«TS4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76» */
  2. #include    <stdio.h>
  3. #define    EXTERN    extern
  4. #include    <typedef.h>
  5.  
  6.  
  7. void OneAxisDem()
  8. {
  9.     ClearScreen();
  10.     SetColorWhite();
  11.     SetBackground(0);
  12.  
  13.     DefineHeader(1,"LABELED AXES");
  14.     SetHeaderOn();
  15.     DefineWorld(1, -10., -10., 10., 10.);
  16.     SelectWindow(1);
  17.     SelectWorld(1);
  18.  
  19.     DrawBorder();
  20.  
  21.     DrawAxis(8,-7,0,0,0,0,0,0,TRUE);
  22. }
  23.  
  24.  
  25. main()
  26. {
  27.     InitGraphic();
  28.     OneAxisDem();
  29.     inkey();
  30.     LeaveGraphic();
  31. }
  32.